package com.xh.bussiness.permission.service;

import com.xh.bussiness.permission.bean.request.SaveUserAreaRequest;
import com.xh.bussiness.permission.model.UserArea;
import com.xh.core.service.IBaseService;

import java.util.List;

public interface IUserAreaService extends IBaseService<UserArea> {


    void saveUserArea(SaveUserAreaRequest request);

    List<UserArea> queryByUserId(String userId,Integer grade);

    List<UserArea> queryAreaTree(String userId);


}
